/**

 @author 石头哥哥
 </P>
 Date:   2014/12/18
 </P>
 Time:   11:28

 注解：

 */
package {


import starling.display.Sprite;
import starling.events.Event;

public class TestRoot extends Sprite {
    public function TestRoot() {
        super();

        if (stage) {
            init();
        }
        else {
            addEventListener(Event.ADDED_TO_STAGE, init);
        }
    }

    private function init($e:Event = null):void {

//        stage.color = 0xffff00;
//
//        var quad:Quad = new Quad(300, 200, 0xff0000);
//        this.addChild( quad );


    }
}
}
